﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenComposite.HumanActivity.Contracts;

namespace OpenComposite.Inbox.Data
{
	public static class Global
	{
		public static DataAccess DataAccess
		{
			get
			{
				if ( _dataAccess == null ) {
					_dataAccess = new DataAccess();
				}
				return _dataAccess;
			}
		}
		public static LogInData CurrentUser
		{
			get
			{
				return Global.DataAccess.CurrentUser;
			}
		}

		private static DataAccess _dataAccess = null;
	}
}
